import { createApp } from 'vue'
// import './style.css'
import router from './router/index'
import App from './App.vue'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Particles from "@tsparticles/vue3";
import DataVVue3 from '@kjgl77/datav-vue3'
import { loadFull } from "tsparticles";
import "../src/utils/axios.config"
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(Particles, {
    init: async engine => {
        await loadFull(engine);
    },
})
app.use(DataVVue3)
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.mount('#app')
